package com.entity.yaml

import com.annotations.DefaultValue
import com.entity.PackPath
import com.excel.SheetHeadComment
import com.serialization.PackPathSerialization
import io.github.stream29.jsonschemagenerator.Description
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable

@Serializable
@SerialName("languages")
data class Languages(
    /**
     * 多语言存放xml目录 例：E:/WorkSpace/IDEA/TypeScript/Project/assets/languages
     */
    @property:Description("多语言存放xml目录 例：E:/WorkSpace/IDEA/TypeScript/Project/assets/languages")
    @DefaultValue("null")
    var languagesPath: @Serializable(PackPathSerialization::class) PackPath? = null,
    /**
     * 生成的xls 文件路径 例：F:/languages.xls
     */
    @property:Description("生成的xls 文件路径 例：F:/languages.xls")
    @DefaultValue("null")
    var xlsPath: @Serializable(PackPathSerialization::class) PackPath? = null,
    /**
     * 转换输出路径 例：F:/
     */
    @property:Description("转换输出路径 例：F:/")
    @DefaultValue("null")
    var outPath: @Serializable(PackPathSerialization::class) PackPath? = null,

    var headLanguage: List<SheetHeadComment> = mutableListOf()

)
